libgpg-error: Update to 1.34
authorRosen Penev <[email protected]>
Sun, 20 Jan 2019 23:26:14 +0000 (15:26 -0800)
committerRosen Penev <[email protected]>
Thu, 24 Jan 2019 00:01:29 +0000 (16:01 -0800)
Remove FPIC as it is already default. Both fPIC and DPIC are passed.

Some extra configure arguments to speed up build times.

Signed-off-by: Rosen Penev <[email protected]>
libs/libgpg-error/Makefile
libs/libgpg-error/patches/001-cross-compile-fix.patch

index 3180f3bc8ff50ae62e150f191856bb11e47d9892..61db49373c21fb52745a051a6e4d360043553b6a 100644 (file)
@@ -8,12 +8,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libgpg-error
-PKG_VERSION:=1.33
+PKG_VERSION:=1.34
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=https://www.gnupg.org/ftp/gcrypt/libgpg-error/
-PKG_HASH:=5d38826656e746c936e7742d9cde072b50baa3c4c49daa168a56813612bf03ff
+PKG_SOURCE_URL:=https://ftp.bit.nl/mirror/gnupg/ \
+               https://ftp.nluug.nl/security/gnupg/ \
+               http://ring.ksc.gr.jp/archives/net/gnupg/libgpg-error/ \
+               https://www.gnupg.org/ftp/gcrypt/libgpg-error/
+PKG_HASH:=0680799dee71b86b2f435efb825391eb040ce2704b057f6bd3dcc47fbc398c81
 
 PKG_MAINTAINER:=W. Michael Petullo <[email protected]>
 PKG_LICENSE:=LGPL-2.1+
@@ -30,7 +33,7 @@ define Package/libgpg-error
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE:=GnuPG error handling helper library
-  URL:=http://www.gnupg.org/related_software/libgpg-error/
+  URL:=https://www.gnupg.org/related_software/libgpg-error/
 endef
 
 define Package/libgpg-error/description
@@ -41,12 +44,13 @@ define Package/libgpg-error/description
        future.
 endef
 
-TARGET_CFLAGS += $(FPIC)
-
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
-       --disable-rpath
+       --disable-doc \
+       --disable-languages \
+       --disable-rpath \
+       --disable-tests
 
 define Build/InstallDev
        $(INSTALL_DIR) $(2)/bin $(1)/usr/bin
index d19c7f936d9a7d3e4021e2afcdd515aec32f7569..c7ff30fae387048f912c9ab3d9c4ba7ed5942ce9 100644 (file)
@@ -8,7 +8,7 @@
 +    x86_64-openwrt-linux-gnu|i?86-openwrt-linux-gnu)
 +        host=$(echo $host | sed 's/openwrt/pc/g')
 +        ;;
-+    arm-openwrt-linux-gnu)
++    arm-openwrt-linux-gnu|armeb-openwrt-linux-gnu)
 +        host=arm-unknown-linux-gnueabi
 +        ;;
 +    *)